package com.woniuxy.coursemodel.form;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ApiModel("新增单个团课课程参数列表")
public class OneTeamCourseForm {
    @NotNull(message = "团课产品id不能为空")
    @Min(value = 1 , message = "至少为1")
    private Integer teamProductId;
    @NotBlank(message = "开始时间不能为空")
    private String startTime;
    @NotBlank(message = "结束时间不能为空")
    private String endTime;
}
